package com.cdd.mvc;

import lombok.Data;

@Data
public class ReturnMsg {

    private String code;

    private String msg;

    private Object data;

    public ReturnMsg(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public ReturnMsg(String code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}
